package com.bdqn.design;

import com.bdqn.design.proxy.Buyer;
import com.bdqn.design.proxy.IntermediaryProxySubcalss;

/**
 * Test05StaticProxySubclass 测试静态代理（使用继承方式）
 *
 * @author LILIBO
 * @since 2024/7/6
 */
public class Test05StaticProxySubclass {

    public static void main(String[] args) {
        // 房产中介带着想买房的真实客户去看房
        Buyer buyer = new IntermediaryProxySubcalss();
        String result = buyer.havealook();
        System.out.println(result);
    }

}
